package com.youhome.service;


import com.github.pagehelper.PageInfo;
import com.youhome.model.*;


import java.util.List;

/**
 * Created by chen365 on 2018/07/20.
 */
public interface SolrService {

    List<AssociateZip> associateSearchByZip(String zip);

    List<AssociateCity> associateSearchByCity(String city);

    List<AssociateAddress> associateSearchByAddress(String address);

    PageInfo<ListHubList> searchByBean(String action, String keyword, Integer pageNumber,
                                       Integer pageSize, String type, Integer beds, Integer baths,
                                       Integer year,
                                       Double minSize, Double maxSize, Double minPrice, Double maxPrice,

                                       String filed, String direction, Boolean isStar,
                                       Boolean isCheck, Double minX, Double maxX, Double minY, Double maxY, Long companyId, Boolean isNewHouse);

    List<HouseMap> searchMapByBean(String action, String keyword, String type, Integer beds, Integer baths,
                                   Integer year,
                                   Double minSize, Double maxSize, Double minPrice, Double maxPrice,

                                   String filed, String direction, Boolean isStar,
                                   Boolean isCheck, Double minX, Double maxX, Double minY, Double maxY, Long companyId);

}
